﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PasswordManager.Src.DAO
{
    [Table]
    public class PasswordDetail
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true)]
        public int Id { get; set; }
        [Column()]
        public string WebAdress { get; set; }
        [Column(CanBeNull=false)]
        public string Password { get; set; }
        [Column()]
        public string Note { get; set; }
        [Column(CanBeNull=false)]
        public string UserNameOrEmail { get; set; }


    }
}
